package com.zspringboot.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 项目名跟内容关联表
 * </p>
 *
 * @author laolang
 * @since 2024-03-13
 */
@TableName("zjh_title_content")
@ApiModel(value = "TitleContent对象", description = "项目名跟内容关联表")
public class TitleContent implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer titleId;

    private Integer contentId;

    public TitleContent(Integer titleId, Integer contentId) {
        this.titleId = titleId;
        this.contentId = contentId;
    }

    public Integer getTitleId() {
        return titleId;
    }

      public void setTitleId(Integer titleId) {
          this.titleId = titleId;
      }
    
    public Integer getContentId() {
        return contentId;
    }

      public void setContentId(Integer contentId) {
          this.contentId = contentId;
      }

    @Override
    public String toString() {
        return "TitleContent{" +
              "titleId=" + titleId +
                  ", contentId=" + contentId +
              "}";
    }
}
